package day1102.demo02;

import java.util.concurrent.Callable;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/2 10:32
 */

public class WqlCallable implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
       int sum=0;
        for (int i = 0; i <=100; i++) {
            sum+=i;
        }
        return sum;
    }
}

